package com.dy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableCircuitBreaker //开启断路器功能
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication
public class FeignConsumeApp {
	public static void main(String[] args) {
		SpringApplication.run(FeignConsumeApp.class, args);
	}
}